package com.ruoyi.modules.mapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.modules.bean.LzUserPost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author zzw
* @description 针对表【lz_user_post(用户任职记录表)】的数据库操作Mapper
* @createDate 2024-05-28 11:02:17
* @Entity com.ruoyi.modules.bean.LzUserPost
*/
public interface LzUserPostMapper extends BaseMapper<LzUserPost> {

    List<LzUserPost> getIdByUserIdAndPostWay(@Param("userId") Long userId, @Param("postWay") Integer postWay);

    List<Map> getTranUserDept(@Param("userId") String userId);

    List<Map<String, Object>> getUserCountByDept(Map<String, String> params);
}




